/// <summary>
        /// Creates a new instance of the ucTranslationView class.
        /// </summary>
        public ucCraftsTabView()
        {
            InitializeComponent();

            if (LicenseManager.UsageMode == LicenseUsageMode.Designtime || DesignMode)
            {
                return;
            }

            CraftsTabViewController.Initialize(this);
            SetEnabledOfAllControls(true);
        }
 private void cbCraftsTabBuildingFilter_SelectedIndexChanged(object sender, EventArgs e)
 {
     CraftsTabViewController.RefreshTreeView();
 }
 private void tsbCraftsTabRemove_Click(object sender, EventArgs e)
 {
     CraftsTabViewController.RemoveSelectedCraft();
 }
 private void tsbCraftsTabSwap_Click(object sender, EventArgs e)
 {
     CraftsTabViewController.SwapBuildingOfSelectedCraft();
 }
 private void tsbCraftsTabValidate_Click(object sender, EventArgs e)
 {
     CraftsTabViewController.ValidateCrafts();
 }
 private void tsbCraftsTabRefresh_Click(object sender, EventArgs e)
 {
     CraftsTabViewController.RefreshCraftsTab();
 }