51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
using System;
|
|
using System.CodeDom.Compiler;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Markup;
|
|
|
|
namespace Crysome.Server.View;
|
|
|
|
public class BuilderTab : UserControl, IComponentConnector
|
|
{
|
|
private bool _contentLoaded;
|
|
|
|
public BuilderTab()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void CheckBox_Checked(object sender, RoutedEventArgs e)
|
|
{
|
|
}
|
|
|
|
[DebuggerNonUserCode]
|
|
[GeneratedCode("PresentationBuildTasks", "9.0.14.0")]
|
|
public void InitializeComponent()
|
|
{
|
|
if (!_contentLoaded)
|
|
{
|
|
_contentLoaded = true;
|
|
Uri resourceLocator = new Uri("/Crysome.Server;component/view/buildertab.xaml", UriKind.Relative);
|
|
Application.LoadComponent(this, resourceLocator);
|
|
}
|
|
}
|
|
|
|
[DebuggerNonUserCode]
|
|
[GeneratedCode("PresentationBuildTasks", "9.0.14.0")]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
void IComponentConnector.Connect(int connectionId, object target)
|
|
{
|
|
if (connectionId == 1)
|
|
{
|
|
((CheckBox)target).Checked += CheckBox_Checked;
|
|
}
|
|
else
|
|
{
|
|
_contentLoaded = true;
|
|
}
|
|
}
|
|
}
|