Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_change_pas = ((GreatestApplicatioInMyLife.pas_change)(target));
                return;

            case 2:
                this.oldpas = ((DevExpress.Xpf.Editors.PasswordBoxEdit)(target));

            #line 11 "..\..\..\pas_change.xaml"
                this.oldpas.GotFocus += new System.Windows.RoutedEventHandler(this.oldpas_GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.newpas = ((DevExpress.Xpf.Editors.PasswordBoxEdit)(target));

            #line 14 "..\..\..\pas_change.xaml"
                this.newpas.GotFocus += new System.Windows.RoutedEventHandler(this.oldpas_GotFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 5:
                this.bt_change_pas = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\pas_change.xaml"
                this.bt_change_pas.Click += new System.Windows.RoutedEventHandler(this.bt_change_pas_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.bt_can = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tb_fname_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 2:
                this.tb_sname_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 3:
                this.tb_contname_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 4:
                this.tb_adr_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 5:
                this.tb_inn_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 6:
                this.tb_tel_prov = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 7:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 8:
                this.bt_create_prov = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\Insert_Prov.xaml"
                this.bt_create_prov.Click += new System.Windows.RoutedEventHandler(this.bt_create_prov_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.bt_can_cr_prov = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_add_arr = ((GreatestApplicatioInMyLife.add_leave)(target));

            #line 7 "..\..\add_leave.xaml"
                this.window_add_arr.Activated += new System.EventHandler(this.window_add_arr_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.cb_obj = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 3:
                this.comment_arr = ((DevExpress.Xpf.Editors.MemoEdit)(target));
                return;

            case 4:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 5:
                this.bt_create_arr = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\add_leave.xaml"
                this.bt_create_arr.Click += new System.Windows.RoutedEventHandler(this.bt_create_leave_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.bt_can_cr_arr = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\add_leave.xaml"
                this.bt_can_cr_arr.Click += new System.Windows.RoutedEventHandler(this.bt_can_cr_leave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_unity_di = ((GreatestApplicatioInMyLife.insert_char_nom)(target));
                return;

            case 2:
                this.be_char = ((DevExpress.Xpf.Editors.ButtonEdit)(target));

            #line 16 "..\..\insert_char_nom.xaml"
                this.be_char.DefaultButtonClick += new System.Windows.RoutedEventHandler(this.be_char_DefaultButtonClick);

            #line default
            #line hidden
                return;

            case 3:
                this.ce_price = ((DevExpress.Xpf.Editors.PopupCalcEdit)(target));
                return;

            case 4:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 5:
                this.bt_create_nom = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\insert_char_nom.xaml"
                this.bt_create_nom.Click += new System.Windows.RoutedEventHandler(this.bt_create_nom_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.bt_can_cr_nom = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\insert_char_nom.xaml"
                this.bt_can_cr_nom.Click += new System.Windows.RoutedEventHandler(this.bt_can_cr_nom_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_add_details_arr = ((GreatestApplicatioInMyLife.add_detail_leave)(target));
                return;

            case 2:
                this.be_nom = ((DevExpress.Xpf.Editors.ButtonEdit)(target));

            #line 14 "..\..\..\add_detail_leave.xaml"
                this.be_nom.DefaultButtonClick += new System.Windows.RoutedEventHandler(this.be_nom_DefaultButtonClick);

            #line default
            #line hidden
                return;

            case 3:
                this.culc_sum = ((DevExpress.Xpf.Editors.PopupCalcEdit)(target));

            #line 17 "..\..\..\add_detail_leave.xaml"
                this.culc_sum.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.calc_sel_TextInput);

            #line default
            #line hidden
                return;

            case 4:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 5:
                this.bt_add_det = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\add_detail_leave.xaml"
                this.bt_add_det.Click += new System.Windows.RoutedEventHandler(this.bt_add_det_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.bt_can_add_det = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tbpToolBar = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 2:
                this.tbToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 3:
                this.btnAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.btnCopy = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.btnModify = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.btnDelete = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.btnAuditing = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.btnUnaudited = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.toolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 2:
                this.btn_file_pack = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.btn_file_pack.Click += new System.Windows.RoutedEventHandler(this.btn_file_pack_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btn_folder_pack = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.btn_folder_pack.Click += new System.Windows.RoutedEventHandler(this.btn_folder_pack_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btn_md5_number = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\MainWindow.xaml"
                this.btn_md5_number.Click += new System.Windows.RoutedEventHandler(this.btn_md5_number_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tb_log_box = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow = ((GreatestApplicatioInMyLife.frame_char_leavemove)(target));

            #line 16 "..\..\frame_char_leavemove.xaml"
                this.mainwindow.Activated += new System.EventHandler(this.mainwindow_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.grid_master_char = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 3:
                this.tbp_frame_char = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 4:
                this.bt_create = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\frame_char_leavemove.xaml"
                this.bt_create.Click += new System.Windows.RoutedEventHandler(this.bt_create_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.bt_cancel = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\frame_char_leavemove.xaml"
                this.bt_cancel.Click += new System.Windows.RoutedEventHandler(this.bt_cancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.toolbarButton = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 2:
                this.buttonSave = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\ToolBarControl.xaml"
                this.buttonSave.Click += new System.Windows.RoutedEventHandler(this.buttonSave_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.buttonCancel = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\ToolBarControl.xaml"
                this.buttonCancel.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.buttonComplete = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\ToolBarControl.xaml"
                this.buttonComplete.Click += new System.Windows.RoutedEventHandler(this.buttonComplete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win_ins_war = ((GreatestApplicatioInMyLife.Insert_War)(target));
                return;

            case 2:
                this.tb_fn_war = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 3:
                this.tb_sn_war = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 4:
                this.tb_adr_war = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 5:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 6:
                this.bt_create_war = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\Insert_War.xaml"
                this.bt_create_war.Click += new System.Windows.RoutedEventHandler(this.bt_create_war_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.bt_can_cr_war = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.menu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     this.toolBarPanel1 = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
     return;
     case 3:
     this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Windows\CadastroUsuario.xaml"
                ((Cs_Notas.Windows.CadastroUsuario)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\..\Windows\CadastroUsuario.xaml"
                ((Cs_Notas.Windows.CadastroUsuario)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.gridUsuario = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.groupBoxUsuario = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.cmbUsuario = ((System.Windows.Controls.ComboBox)(target));

            #line 15 "..\..\..\Windows\CadastroUsuario.xaml"
                this.cmbUsuario.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbUsuario_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.toolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 7:
                this.btnAdicionar = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnAdicionar.Click += new System.Windows.RoutedEventHandler(this.btnAdicionar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.groupUsuarioSenha = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.txtNomeUsuario = ((System.Windows.Controls.TextBox)(target));

            #line 94 "..\..\..\Windows\CadastroUsuario.xaml"
                this.txtNomeUsuario.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtNomeUsuario_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.passSenha = ((System.Windows.Controls.PasswordBox)(target));

            #line 95 "..\..\..\Windows\CadastroUsuario.xaml"
                this.passSenha.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.passSenha_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 13:
                this.txtQualificacao = ((System.Windows.Controls.TextBox)(target));

            #line 98 "..\..\..\Windows\CadastroUsuario.xaml"
                this.txtQualificacao.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtQualificacao_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 14:
                this.txtCpf = ((System.Windows.Controls.TextBox)(target));

            #line 100 "..\..\..\Windows\CadastroUsuario.xaml"
                this.txtCpf.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtCpf_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.txtMatrícula = ((System.Windows.Controls.TextBox)(target));

            #line 102 "..\..\..\Windows\CadastroUsuario.xaml"
                this.txtMatrícula.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtMatrícula_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 16:
                this.btnSalvar = ((System.Windows.Controls.Button)(target));

            #line 106 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Permissoes = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 18:
                this.groupPermissoes = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.ckbMaster = ((System.Windows.Controls.CheckBox)(target));

            #line 131 "..\..\..\Windows\CadastroUsuario.xaml"
                this.ckbMaster.Checked += new System.Windows.RoutedEventHandler(this.ckbMaster_Checked);

            #line default
            #line hidden

            #line 131 "..\..\..\Windows\CadastroUsuario.xaml"
                this.ckbMaster.Unchecked += new System.Windows.RoutedEventHandler(this.ckbMaster_Unchecked);

            #line default
            #line hidden
                return;

            case 20:
                this.ckbAlteraAtos = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.ckbExcluirAtos = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.ckbSelarAtos = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.ckbLiberarSelo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.ckbReservarSelo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.ckbAlterarSelo = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.ckbAlterarEmolumentos = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.comboBoxDash = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.comboBoxDash.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ChangeSelectionDash);

            #line default
            #line hidden
                return;

            case 2:
                this.textBoxRoundRectX = ((System.Windows.Controls.TextBox)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.textBoxRoundRectX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxRoundRectX_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.textBoxRoundRectY = ((System.Windows.Controls.TextBox)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.textBoxRoundRectY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBoxRoundRectY_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.textBlockRoundY = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.textBlockRoundX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.colorbarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 7:
                this.button_secondColor = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.button_secondColor.Click += new System.Windows.RoutedEventHandler(this.SecondColor);

            #line default
            #line hidden
                return;

            case 8:
                this.button_firstColor = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.button_firstColor.Click += new System.Windows.RoutedEventHandler(this.FirstColor);

            #line default
            #line hidden
                return;

            case 9:
                this.ThiknessSlider = ((System.Windows.Controls.Slider)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.ThiknessSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ThiknessSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.toolbarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 11:
                this.gotoPastCondition = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.gotoPastCondition.Click += new System.Windows.RoutedEventHandler(this.gotoPastCondition_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.gotoSecondCondition = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.gotoSecondCondition.Click += new System.Windows.RoutedEventHandler(this.gotoSecondCondition_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.LoadButton = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.LoadButton.Click += new System.Windows.RoutedEventHandler(this.LoadButton_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.ScrollViewerCanvas = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.MyCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MyCanvas_MouseDown);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.MyCanvas_MouseUp);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.MyCanvas_MouseMove);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.Loaded += new System.Windows.RoutedEventHandler(this.MyCanvas_Loaded);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MyCanvas_SizeChanged);

            #line default
            #line hidden

            #line 65 "..\..\MainWindow.xaml"
                this.MyCanvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MyCanvas_MouseLeave);

            #line default
            #line hidden
                return;

            case 17:
                this.layout = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 18:
                this.PropToolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window_edit_role = ((GreatestApplicatioInMyLife.edit_roles)(target));

            #line 7 "..\..\..\edit_roles.xaml"
                this.window_edit_role.Activated += new System.EventHandler(this.window_edit_role_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.chnom = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 10 "..\..\..\edit_roles.xaml"
                this.chnom.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 3:
                this.chchar = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 15 "..\..\..\edit_roles.xaml"
                this.chchar.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.chemp = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 20 "..\..\..\edit_roles.xaml"
                this.chemp.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.chcontr = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 25 "..\..\..\edit_roles.xaml"
                this.chcontr.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.chwar = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 30 "..\..\..\edit_roles.xaml"
                this.chwar.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.chmes = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 35 "..\..\..\edit_roles.xaml"
                this.chmes.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.chobj = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 40 "..\..\..\edit_roles.xaml"
                this.chobj.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.charr = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 45 "..\..\..\edit_roles.xaml"
                this.charr.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 10:
                this.chleave = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 50 "..\..\..\edit_roles.xaml"
                this.chleave.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.chmove = ((DevExpress.Xpf.Editors.CheckEdit)(target));

            #line 55 "..\..\..\edit_roles.xaml"
                this.chmove.GotFocus += new System.Windows.RoutedEventHandler(this.chnom_GotFocus);

            #line default
            #line hidden
                return;

            case 12:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 13:
                this.bt_apply = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\edit_roles.xaml"
                this.bt_apply.Click += new System.Windows.RoutedEventHandler(this.bt_apply_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.bt_cancel = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\edit_roles.xaml"
                this.bt_cancel.Click += new System.Windows.RoutedEventHandler(this.bt_cancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        /// <summary>Remeasures the <see cref="T:System.Windows.Controls.Primitives.ToolBarOverflowPanel" />. </summary>
        /// <param name="constraint">Constraint size is an upper limit. The return value should not exceed this size.</param>
        /// <returns>The desired size.</returns>
        // Token: 0x060060FB RID: 24827 RVA: 0x001B3298 File Offset: 0x001B1498
        protected override Size MeasureOverride(Size constraint)
        {
            Size size = default(Size);

            this._panelSize = default(Size);
            this._wrapWidth = (double.IsNaN(this.WrapWidth) ? constraint.Width : this.WrapWidth);
            UIElementCollection internalChildren = base.InternalChildren;
            int          num          = internalChildren.Count;
            ToolBarPanel toolBarPanel = this.ToolBarPanel;

            if (toolBarPanel != null)
            {
                List <UIElement> generatedItemsCollection = toolBarPanel.GeneratedItemsCollection;
                int num2 = (generatedItemsCollection != null) ? generatedItemsCollection.Count : 0;
                int num3 = 0;
                for (int i = 0; i < num2; i++)
                {
                    UIElement uielement = generatedItemsCollection[i];
                    if (uielement != null && ToolBar.GetIsOverflowItem(uielement) && !(uielement is Separator))
                    {
                        if (num3 < num)
                        {
                            if (internalChildren[num3] != uielement)
                            {
                                internalChildren.Insert(num3, uielement);
                                num++;
                            }
                        }
                        else
                        {
                            internalChildren.Add(uielement);
                            num++;
                        }
                        num3++;
                    }
                }
            }
            for (int j = 0; j < num; j++)
            {
                UIElement uielement2 = internalChildren[j];
                uielement2.Measure(constraint);
                Size desiredSize = uielement2.DesiredSize;
                if (DoubleUtil.GreaterThan(desiredSize.Width, this._wrapWidth))
                {
                    this._wrapWidth = desiredSize.Width;
                }
            }
            this._wrapWidth = Math.Min(this._wrapWidth, constraint.Width);
            for (int k = 0; k < internalChildren.Count; k++)
            {
                UIElement uielement3   = internalChildren[k];
                Size      desiredSize2 = uielement3.DesiredSize;
                if (DoubleUtil.GreaterThan(size.Width + desiredSize2.Width, this._wrapWidth))
                {
                    this._panelSize.Width  = Math.Max(size.Width, this._panelSize.Width);
                    this._panelSize.Height = this._panelSize.Height + size.Height;
                    size = desiredSize2;
                    if (DoubleUtil.GreaterThan(desiredSize2.Width, this._wrapWidth))
                    {
                        this._panelSize.Width  = Math.Max(desiredSize2.Width, this._panelSize.Width);
                        this._panelSize.Height = this._panelSize.Height + desiredSize2.Height;
                        size = default(Size);
                    }
                }
                else
                {
                    size.Width += desiredSize2.Width;
                    size.Height = Math.Max(desiredSize2.Height, size.Height);
                }
            }
            this._panelSize.Width  = Math.Max(size.Width, this._panelSize.Width);
            this._panelSize.Height = this._panelSize.Height + size.Height;
            return(this._panelSize);
        }
Ejemplo n.º 16
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.form = ((NewPaint.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.KeyUp += new System.Windows.Input.KeyEventHandler(this.Form_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Palette = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Color1 = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.Color1.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Color2 = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.Color2.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 49 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 50 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Load_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 51 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseLeave);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseMove);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseUp);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_PreviewMouseWheel);
     
     #line default
     #line hidden
     return;
     case 10:
     this.ScrollBarX = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.ScrollBarX.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarX_Scroll);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ScrollBarY = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.ScrollBarY.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarY_Scroll);
     
     #line default
     #line hidden
     return;
     case 12:
     this.ToolBarPanel_Property = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
     return;
     case 13:
     this.Panel_Property = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.standartProps = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.thicknessSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.thicknessSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 16:
     this.dashSelector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 17:
     this.zSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 120 "..\..\MainWindow.xaml"
     this.zSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 18:
     this.fillProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.fillSelector = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     
     #line 137 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FillColor_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.roundsProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.roundsSelectorX = ((System.Windows.Controls.TextBox)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.roundsSelectorX.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 23:
     this.roundsSelectorY = ((System.Windows.Controls.TextBox)(target));
     
     #line 154 "..\..\MainWindow.xaml"
     this.roundsSelectorY.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 24:
     this.applyProp = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\MainWindow.xaml"
     this.applyProp.Click += new System.Windows.RoutedEventHandler(this.Apply_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ToolBarExpert = ((WpfCustomControlLibrary.ToolBarAdvanced)(target));

            #line 6 "..\..\ToolBarAdvanced.xaml"
                this.ToolBarExpert.Loaded += new System.Windows.RoutedEventHandler(this.ToolBarExpert_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tbpToolBar = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 3:
                this.tbToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 4:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\ToolBarAdvanced.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.imgSearch = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\ToolBarAdvanced.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.imgAdd = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.btnCopy = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\ToolBarAdvanced.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.imgCopy = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.btnModify = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\ToolBarAdvanced.xaml"
                this.btnModify.Click += new System.Windows.RoutedEventHandler(this.btnModify_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.imgModify = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\ToolBarAdvanced.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.imgSave = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.btnDelete = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\ToolBarAdvanced.xaml"
                this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.imgDel = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.btnLayIn = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.imgLayIn = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.btnExport = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\ToolBarAdvanced.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.imgExport = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\ToolBarAdvanced.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.imgCancel = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.btnAuditing = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\ToolBarAdvanced.xaml"
                this.btnAuditing.Click += new System.Windows.RoutedEventHandler(this.btnAuditing_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.imgAuditing = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.btnUnaudited = ((System.Windows.Controls.Button)(target));

            #line 73 "..\..\ToolBarAdvanced.xaml"
                this.btnUnaudited.Click += new System.Windows.RoutedEventHandler(this.btnUnaudited_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.imgUnaudited = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.btnPrintPreview = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\ToolBarAdvanced.xaml"
                this.btnPrintPreview.Click += new System.Windows.RoutedEventHandler(this.btnPrintPreview_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.imgPrintPreview = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.btnPrint = ((System.Windows.Controls.Button)(target));

            #line 85 "..\..\ToolBarAdvanced.xaml"
                this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.imgPrint = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.btnInvalid = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\ToolBarAdvanced.xaml"
                this.btnInvalid.Click += new System.Windows.RoutedEventHandler(this.btnInvalid_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.imgCanCellation = ((System.Windows.Controls.Image)(target));
                return;

            case 32:
                this.btnValid = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\ToolBarAdvanced.xaml"
                this.btnValid.Click += new System.Windows.RoutedEventHandler(this.btnValid_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.imgUnCanCellation = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.btnAdvancedQuery = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.imgAdvancedQuery = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewBox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 2:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Mouse_Down);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Mouse_Move);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Mouse_Up);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.image_MouseWheel);

            #line default
            #line hidden
                return;

            case 3:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.mybox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 5:
                this.pic = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.tools = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 7:
                this.Open = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.Open.Click += new System.Windows.RoutedEventHandler(this.open_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.cal = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.cal.Click += new System.Windows.RoutedEventHandler(this.cal_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.saveButton = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Annotate = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.Annotate.Click += new System.Windows.RoutedEventHandler(this.Annotate_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.About = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.About.Click += new System.Windows.RoutedEventHandler(this.About_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((WpfApplication1.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.browser = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 4:
                this.toolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 5:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 6:
                this.goBack = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.goBack.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.goForward = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.goForward.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.refresh = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.refresh.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\CadastroUsuario.xaml"
                ((Cs_IssPrefeitura.CadastroUsuario)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\CadastroUsuario.xaml"
                ((Cs_IssPrefeitura.CadastroUsuario)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.gridUsuario = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.groupBoxUsuario = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.cmbUsuario = ((System.Windows.Controls.ComboBox)(target));

            #line 15 "..\..\CadastroUsuario.xaml"
                this.cmbUsuario.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbUsuario_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.toolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 7:
                this.btnAdicionar = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\CadastroUsuario.xaml"
                this.btnAdicionar.Click += new System.Windows.RoutedEventHandler(this.btnAdicionar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\CadastroUsuario.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\CadastroUsuario.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.groupUsuarioSenha = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.txtNomeUsuario = ((System.Windows.Controls.TextBox)(target));

            #line 91 "..\..\CadastroUsuario.xaml"
                this.txtNomeUsuario.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtNomeUsuario_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.passSenha = ((System.Windows.Controls.PasswordBox)(target));

            #line 92 "..\..\CadastroUsuario.xaml"
                this.passSenha.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.passSenha_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 13:
                this.btnSalvar = ((System.Windows.Controls.Button)(target));

            #line 97 "..\..\CadastroUsuario.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Permissoes = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 15:
                this.groupPermissoes = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.ckbMaster = ((System.Windows.Controls.CheckBox)(target));

            #line 122 "..\..\CadastroUsuario.xaml"
                this.ckbMaster.Checked += new System.Windows.RoutedEventHandler(this.ckbMaster_Checked);

            #line default
            #line hidden

            #line 122 "..\..\CadastroUsuario.xaml"
                this.ckbMaster.Unchecked += new System.Windows.RoutedEventHandler(this.ckbMaster_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.ckbImportarMas = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.ckbFechamentoMes = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 19:
                this.ckbAlterarAtos = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.ckbAbrirFecharLivro = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.ckbImprimirFechamentoMes = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.tabItem8 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.button30 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.button31 = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.listBox5 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.calendar4 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 9:
                this.textBox6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 16:
                this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.calendar1 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 21:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.button3 = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.image3 = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 28:
                this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.stackPanel4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this.button4 = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.button5 = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.button6 = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.button7 = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.button8 = ((System.Windows.Controls.Button)(target));
                return;

            case 36:
                this.stackPanel5 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.stackPanel6 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 38:
                this.button9 = ((System.Windows.Controls.Button)(target));
                return;

            case 39:
                this.button10 = ((System.Windows.Controls.Button)(target));
                return;

            case 40:
                this.button11 = ((System.Windows.Controls.Button)(target));
                return;

            case 41:
                this.button12 = ((System.Windows.Controls.Button)(target));
                return;

            case 42:
                this.button13 = ((System.Windows.Controls.Button)(target));
                return;

            case 43:
                this.listBox2 = ((System.Windows.Controls.ListBox)(target));

            #line 92 "..\..\..\MainWindow.xaml"
                this.listBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 46:
                this.tabItem5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 47:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.button14 = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 51:
                this.checkBox2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.calendar2 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 53:
                this.stackPanel7 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 54:
                this.button15 = ((System.Windows.Controls.Button)(target));
                return;

            case 55:
                this.button16 = ((System.Windows.Controls.Button)(target));
                return;

            case 56:
                this.button17 = ((System.Windows.Controls.Button)(target));
                return;

            case 57:
                this.button18 = ((System.Windows.Controls.Button)(target));
                return;

            case 58:
                this.button19 = ((System.Windows.Controls.Button)(target));
                return;

            case 59:
                this.button20 = ((System.Windows.Controls.Button)(target));
                return;

            case 60:
                this.listBox3 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 61:
                this.tabItem6 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 62:
                this.wrapPanel2 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 63:
                this.button21 = ((System.Windows.Controls.Button)(target));
                return;

            case 64:
                this.textBox5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 66:
                this.checkBox3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 67:
                this.calendar3 = ((System.Windows.Controls.Calendar)(target));
                return;

            case 68:
                this.stackPanel8 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 69:
                this.button22 = ((System.Windows.Controls.Button)(target));
                return;

            case 70:
                this.button23 = ((System.Windows.Controls.Button)(target));
                return;

            case 71:
                this.button24 = ((System.Windows.Controls.Button)(target));
                return;

            case 72:
                this.button25 = ((System.Windows.Controls.Button)(target));
                return;

            case 73:
                this.button26 = ((System.Windows.Controls.Button)(target));
                return;

            case 74:
                this.button27 = ((System.Windows.Controls.Button)(target));
                return;

            case 75:
                this.listBox4 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 76:
                this.tabItem7 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 77:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 78:
                this.button28 = ((System.Windows.Controls.Button)(target));
                return;

            case 79:
                this.button29 = ((System.Windows.Controls.Button)(target));
                return;

            case 80:
                this.tabItem9 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 81:
                this.canvas2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 82:
                this.toolBarPanel1 = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 83:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winModuleBasic = ((GeneralUI.ModuleBasicQuery)(target));

            #line 5 "..\..\ModuleBasicQuery.xaml"
                this.winModuleBasic.Loaded += new System.Windows.RoutedEventHandler(this.winModuleBasic_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\ModuleBasicQuery.xaml"
                this.winModuleBasic.Closing += new System.ComponentModel.CancelEventHandler(this.winModuleBasic_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.dagSource = ((System.Windows.Controls.DataGrid)(target));

            #line 26 "..\..\ModuleBasicQuery.xaml"
                this.dagSource.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dagSource_MouseDoubleClick);

            #line default
            #line hidden

            #line 26 "..\..\ModuleBasicQuery.xaml"
                this.dagSource.KeyDown += new System.Windows.Input.KeyEventHandler(this.dagSource_KeyDown);

            #line default
            #line hidden

            #line 26 "..\..\ModuleBasicQuery.xaml"
                this.dagSource.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dagSource_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tbpToolBar = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 4:
                this.tbToolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 5:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\ModuleBasicQuery.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.imgSearch = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\ModuleBasicQuery.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.imgAdd = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.btnCopy = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.imgCopy = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.btnModify = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.imgModify = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.btnDelete = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.imgDel = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.btnLayIn = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.imgLayIn = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.btnExport = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\ModuleBasicQuery.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.imgExport = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.lblObject = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.cobObject = ((System.Windows.Controls.ComboBox)(target));

            #line 99 "..\..\ModuleBasicQuery.xaml"
                this.cobObject.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cobObject_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.lblOperator = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.cobOperator = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.lblValue = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.txtValue = ((System.Windows.Controls.TextBox)(target));

            #line 117 "..\..\ModuleBasicQuery.xaml"
                this.txtValue.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtValue_KeyDown);

            #line default
            #line hidden
                return;

            case 25:
                this.btnQuery = ((System.Windows.Controls.Button)(target));

            #line 123 "..\..\ModuleBasicQuery.xaml"
                this.btnQuery.Click += new System.Windows.RoutedEventHandler(this.btnQuery_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 132 "..\..\ModuleBasicQuery.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.dprDateTwo = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 28:
                this.dprDateOne = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.chbValue = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.stbStats = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 31:
                this.txtStatsValue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.txtStatsCount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.lblInner = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((WpfTotalnik.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CompareFolders);

            #line default
            #line hidden
                return;

            case 3:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 4:
                this.textBoxLeft = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.textBoxRight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.leftListFiles = ((System.Windows.Controls.ListView)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.leftListFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.leftListFiles_MouseDoubleClick);

            #line default
            #line hidden

            #line 21 "..\..\MainWindow.xaml"
                this.leftListFiles.KeyDown += new System.Windows.Input.KeyEventHandler(this.leftListFiles_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.rightListFiles = ((System.Windows.Controls.ListView)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.rightListFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.rightListFiles_MouseDoubleClick);

            #line default
            #line hidden

            #line 33 "..\..\MainWindow.xaml"
                this.rightListFiles.KeyDown += new System.Windows.Input.KeyEventHandler(this.rightListFiles_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.leftDrives = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 9:
                this.rightDrives = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openFileDialog = ((Nevala.OpenFileDialog)(target));
                return;

            case 2:
                this.menuStrip = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.newMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.openMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.saveMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.saveAsMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.saveAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.closeMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.closeAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.printMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.exitMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 12:
                this.undoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.redoMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.cutMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.copyMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 16:
                this.pasteMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.SelectLineMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.SelectAllMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.ClearSelection = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 20:
                this.IncrementalSearchMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 21:
                this.FindMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 22:
                this.ReplaceMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 23:
                this.ReplaceInFilesMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 24:
                this.Go_toMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 25:
                this.ToggleBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 26:
                this.PreviousBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 27:
                this.NextBookmarkMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 28:
                this.ClearBookmarksMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 29:
                this.MakeUpperCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 30:
                this.MakeLowerCaseMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 31:
                this.zoomIn = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 32:
                this.zoomOut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 33:
                this.lineNumbersMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 34:
                this.wordWrapMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 35:
                this.fold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 36:
                this.unfold = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 37:
                this.foldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 38:
                this.unfoldAll = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 39:
                this.Preferences = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 40:
                this.Font = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 41:
                this.Import = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.ShortcutWrapper = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 43:
                this.Run = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 44:
                this.SendviaOutlook = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 45:
                this.PowerHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 47:
                this.BahubaliHelp = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 48:
                this.toolStrip = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 49:
                this.dockPanel = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 50:
                this.documentsRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 51:
                this.FolderView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 52:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 53:
                this.Python = ((System.Windows.Controls.TabItem)(target));
                return;

            case 54:
                this.phost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 55:
                this.IPython = ((System.Windows.Controls.TabItem)(target));
                return;

            case 56:
                this.ihost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\MainWindow.xaml"
                ((WpfApplication1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.mTopLevelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.grid_0_0 = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 9:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.menu2 = ((System.Windows.Controls.Menu)(target));
                return;

            case 11:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.label2 = ((System.Windows.Controls.Label)(target));

            #line 85 "..\..\..\MainWindow.xaml"
                this.label2.MouseMove += new System.Windows.Input.MouseEventHandler(this.label2_MouseMove);

            #line default
            #line hidden

            #line 85 "..\..\..\MainWindow.xaml"
                this.label2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.label2_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.menu3 = ((System.Windows.Controls.Menu)(target));
                return;

            case 14:
                this.menu12 = ((System.Windows.Controls.Menu)(target));
                return;

            case 15:
                this.m0 = ((System.Windows.Controls.MenuItem)(target));

            #line 101 "..\..\..\MainWindow.xaml"
                this.m0.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 16:
                this.m1 = ((System.Windows.Controls.MenuItem)(target));

            #line 102 "..\..\..\MainWindow.xaml"
                this.m1.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 17:
                this.m2 = ((System.Windows.Controls.MenuItem)(target));

            #line 103 "..\..\..\MainWindow.xaml"
                this.m2.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 18:
                this.m4 = ((System.Windows.Controls.MenuItem)(target));

            #line 106 "..\..\..\MainWindow.xaml"
                this.m4.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 19:
                this.m3 = ((System.Windows.Controls.MenuItem)(target));

            #line 107 "..\..\..\MainWindow.xaml"
                this.m3.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 20:
                this.m6 = ((System.Windows.Controls.MenuItem)(target));

            #line 110 "..\..\..\MainWindow.xaml"
                this.m6.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 21:
                this.m5 = ((System.Windows.Controls.MenuItem)(target));

            #line 111 "..\..\..\MainWindow.xaml"
                this.m5.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 22:
                this.m7 = ((System.Windows.Controls.MenuItem)(target));

            #line 112 "..\..\..\MainWindow.xaml"
                this.m7.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 23:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 118 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.button3 = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.grid_1_0 = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.left_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.lefe_1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.tvProperties = ((System.Windows.Controls.TreeView)(target));

            #line 133 "..\..\..\MainWindow.xaml"
                this.tvProperties.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvProperties_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.tree2 = ((System.Windows.Controls.TreeView)(target));

            #line 137 "..\..\..\MainWindow.xaml"
                this.tree2.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tree2_SelectedItemChanged);

            #line default
            #line hidden

            #line 137 "..\..\..\MainWindow.xaml"
                this.tree2.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);

            #line default
            #line hidden

            #line 137 "..\..\..\MainWindow.xaml"
                this.tree2.Drop += new System.Windows.DragEventHandler(this.OnDrop);

            #line default
            #line hidden
                return;

            case 30:
                this.tree5 = ((System.Windows.Controls.TreeView)(target));

            #line 145 "..\..\..\MainWindow.xaml"
                this.tree5.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);

            #line default
            #line hidden

            #line 145 "..\..\..\MainWindow.xaml"
                this.tree5.Drop += new System.Windows.DragEventHandler(this.OnDrop);

            #line default
            #line hidden

            #line 145 "..\..\..\MainWindow.xaml"
                this.tree5.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tree5_SelectedItemChanged_1);

            #line default
            #line hidden

            #line 145 "..\..\..\MainWindow.xaml"
                this.tree5.LostFocus += new System.Windows.RoutedEventHandler(this.tree5_LostFocus);

            #line default
            #line hidden
                return;

            case 31:

            #line 153 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.delete_idd_title);

            #line default
            #line hidden
                return;

            case 32:

            #line 155 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.modify_idd_title);

            #line default
            #line hidden
                return;

            case 33:

            #line 157 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.saveashtml);

            #line default
            #line hidden
                return;

            case 34:
                this.tree3 = ((System.Windows.Controls.TreeView)(target));

            #line 163 "..\..\..\MainWindow.xaml"
                this.tree3.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tree3_SelectedItemChanged);

            #line default
            #line hidden

            #line 163 "..\..\..\MainWindow.xaml"
                this.tree3.AddHandler(System.Windows.DragDrop.DragOverEvent, new System.Windows.DragEventHandler(this.OnDragOver));

            #line default
            #line hidden

            #line 163 "..\..\..\MainWindow.xaml"
                this.tree3.AddHandler(System.Windows.DragDrop.DropEvent, new System.Windows.DragEventHandler(this.OnDrop));

            #line default
            #line hidden
                return;

            case 35:

            #line 166 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.add_node);

            #line default
            #line hidden
                return;

            case 36:

            #line 168 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 37:

            #line 170 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.grid_lef2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.listView1 = ((System.Windows.Controls.ListView)(target));

            #line 180 "..\..\..\MainWindow.xaml"
                this.listView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:

            #line 193 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_modify);

            #line default
            #line hidden
                return;

            case 41:

            #line 195 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_delete);

            #line default
            #line hidden
                return;

            case 42:

            #line 197 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_tag);

            #line default
            #line hidden
                return;

            case 43:
                this.tree6 = ((System.Windows.Controls.TreeView)(target));

            #line 202 "..\..\..\MainWindow.xaml"
                this.tree6.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tree6_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.grid_lef3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 46:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.menu4 = ((System.Windows.Controls.Menu)(target));
                return;

            case 50:

            #line 226 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 51:
                this.listView2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 52:
                this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 53:
                this.webBrowser1 = ((System.Windows.Forms.WebBrowser)(target));
                return;

            case 54:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 55:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.stackPanel4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 57:
                this.menu5 = ((System.Windows.Controls.Menu)(target));
                return;

            case 58:
                this.menu6 = ((System.Windows.Controls.Menu)(target));
                return;

            case 59:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 282 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.menu7 = ((System.Windows.Controls.Menu)(target));
                return;

            case 62:
                this.image3 = ((System.Windows.Controls.Image)(target));
                return;

            case 63:
                this.toolBarPanel1 = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 64:
                this.menu10 = ((System.Windows.Controls.Menu)(target));
                return;

            case 65:

            #line 296 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 66:
                this.menu9 = ((System.Windows.Controls.Menu)(target));
                return;

            case 67:
                this.menu8 = ((System.Windows.Controls.Menu)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Windows\CadastroUsuario.xaml"
                ((Cs_Gerencial.Windows.CadastroUsuario)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.gridUsuario = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.groupBoxUsuario = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.cmbUsuario = ((System.Windows.Controls.ComboBox)(target));

            #line 9 "..\..\..\Windows\CadastroUsuario.xaml"
                this.cmbUsuario.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbUsuario_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.toolBarPanel = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 7:
                this.btnAdicionar = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnAdicionar.Click += new System.Windows.RoutedEventHandler(this.btnAdicionar_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnAlterar = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnAlterar.Click += new System.Windows.RoutedEventHandler(this.btnAlterar_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnExcluir = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnExcluir.Click += new System.Windows.RoutedEventHandler(this.btnExcluir_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.groupUsuarioSenha = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.txtNomeUsuario = ((System.Windows.Controls.TextBox)(target));

            #line 85 "..\..\..\Windows\CadastroUsuario.xaml"
                this.txtNomeUsuario.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtNomeUsuario_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.passSenha = ((System.Windows.Controls.PasswordBox)(target));

            #line 86 "..\..\..\Windows\CadastroUsuario.xaml"
                this.passSenha.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.passSenha_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 13:
                this.btnSalvar = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\..\Windows\CadastroUsuario.xaml"
                this.btnSalvar.Click += new System.Windows.RoutedEventHandler(this.btnSalvar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\..\report_frame_ost.xaml"
                ((GreatestApplicatioInMyLife.report_frame_ost)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.rb_wp = ((System.Windows.Controls.RadioButton)(target));

            #line 46 "..\..\..\report_frame_ost.xaml"
                this.rb_wp.Checked += new System.Windows.RoutedEventHandler(this.rb_wp_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.rb_cust = ((System.Windows.Controls.RadioButton)(target));

            #line 47 "..\..\..\report_frame_ost.xaml"
                this.rb_cust.Checked += new System.Windows.RoutedEventHandler(this.rb_cust_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.sp_date = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.dp_to = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.rb_allnom = ((System.Windows.Controls.RadioButton)(target));

            #line 78 "..\..\..\report_frame_ost.xaml"
                this.rb_allnom.Checked += new System.Windows.RoutedEventHandler(this.rb_allnom_Checked);

            #line default
            #line hidden
                return;

            case 7:
                this.rb_namenom = ((System.Windows.Controls.RadioButton)(target));

            #line 79 "..\..\..\report_frame_ost.xaml"
                this.rb_namenom.Checked += new System.Windows.RoutedEventHandler(this.rb_namenom_Checked);

            #line default
            #line hidden
                return;

            case 8:
                this.rb_groupnom = ((System.Windows.Controls.RadioButton)(target));

            #line 80 "..\..\..\report_frame_ost.xaml"
                this.rb_groupnom.Checked += new System.Windows.RoutedEventHandler(this.rb_groupnom_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.sp_nom = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.cb_nom = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));

            #line 87 "..\..\..\report_frame_ost.xaml"
                this.cb_nom.EditValueChanged += new DevExpress.Xpf.Editors.EditValueChangedEventHandler(this.cb_nom_EditValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 12:
                this.bt_help = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.bt_show = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\..\report_frame_ost.xaml"
                this.bt_show.Click += new System.Windows.RoutedEventHandler(this.bt_show_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.bt_can = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\..\report_frame_ost.xaml"
                this.bt_can.Click += new System.Windows.RoutedEventHandler(this.bt_can_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Toolbar = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
     return;
     case 2:
     this.AddApplicationBlockMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 3:
     this.WizardMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 4:
     this.EnvironmentsMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     }
     this._contentLoaded = true;
 }
        /// <summary>
        /// Measure the content and store the desired size of the content
        /// </summary>
        /// <param name="constraint"></param>
        /// <returns></returns>
        protected override Size MeasureOverride(Size constraint)
        {
            Size curLineSize = new Size();

            _panelSize = new Size();
            _wrapWidth = double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth;
            UIElementCollection children = InternalChildren;
            int childrenCount            = children.Count;

            // Add ToolBar items which have IsOverflowItem = true
            ToolBarPanel toolBarPanel = ToolBarPanel;

            if (toolBarPanel != null)
            {
                // Go through the generated items collection and add to the children collection
                // any that are marked IsOverFlowItem but aren't already in the children collection.
                //
                // The order of both collections matters.
                //
                // It is assumed that any children that were removed from generated items will have
                // already been removed from the children collection.
                List <UIElement> generatedItemsCollection = toolBarPanel.GeneratedItemsCollection;
                int generatedItemsCount = (generatedItemsCollection != null) ? generatedItemsCollection.Count : 0;
                int childrenIndex       = 0;
                for (int i = 0; i < generatedItemsCount; i++)
                {
                    UIElement child = generatedItemsCollection[i];
                    if ((child != null) && ToolBar.GetIsOverflowItem(child) && !(child is Separator))
                    {
                        if (childrenIndex < childrenCount)
                        {
                            if (children[childrenIndex] != child)
                            {
                                children.Insert(childrenIndex, child);
                                childrenCount++;
                            }
                        }
                        else
                        {
                            children.Add(child);
                            childrenCount++;
                        }
                        childrenIndex++;
                    }
                }

                Debug.Assert(childrenIndex == childrenCount, "ToolBarOverflowPanel.Children count mismatch after transferring children from GeneratedItemsCollection.");
            }

            // Measure all children to determine if we need to increase desired wrapWidth
            for (int i = 0; i < childrenCount; i++)
            {
                UIElement child = children[i] as UIElement;

                child.Measure(constraint);

                Size childDesiredSize = child.DesiredSize;
                if (DoubleUtil.GreaterThan(childDesiredSize.Width, _wrapWidth))
                {
                    _wrapWidth = childDesiredSize.Width;
                }
            }

            // wrapWidth should not be bigger than constraint.Width
            _wrapWidth = Math.Min(_wrapWidth, constraint.Width);

            for (int i = 0; i < children.Count; i++)
            {
                UIElement child = children[i] as UIElement;
                Size      sz    = child.DesiredSize;

                if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width, _wrapWidth)) //need to switch to another line
                {
                    _panelSize.Width   = Math.Max(curLineSize.Width, _panelSize.Width);
                    _panelSize.Height += curLineSize.Height;
                    curLineSize        = sz;

                    if (DoubleUtil.GreaterThan(sz.Width, _wrapWidth)) //the element is wider then the constraint - give it a separate line
                    {
                        _panelSize.Width   = Math.Max(sz.Width, _panelSize.Width);
                        _panelSize.Height += sz.Height;
                        curLineSize        = new Size();
                    }
                }
                else //continue to accumulate a line
                {
                    curLineSize.Width += sz.Width;
                    curLineSize.Height = Math.Max(sz.Height, curLineSize.Height);
                }
            }

            //the last line size, if any should be added
            _panelSize.Width   = Math.Max(curLineSize.Width, _panelSize.Width);
            _panelSize.Height += curLineSize.Height;

            return(_panelSize);
        }
Ejemplo n.º 30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FoldersCompareWindow = ((WpfTotalnik.FoldersCompare)(target));

            #line 8 "..\..\FoldersCompareWindow.xaml"
                this.FoldersCompareWindow.Loaded += new System.Windows.RoutedEventHandler(this.FoldersCompareWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.CopyMenuBtn = ((System.Windows.Controls.MenuItem)(target));

            #line 13 "..\..\FoldersCompareWindow.xaml"
                this.CopyMenuBtn.Click += new System.Windows.RoutedEventHandler(this.CopyMenuBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.CompareMenuBtn = ((System.Windows.Controls.MenuItem)(target));

            #line 14 "..\..\FoldersCompareWindow.xaml"
                this.CompareMenuBtn.Click += new System.Windows.RoutedEventHandler(this.CompareMenuBtn_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 16 "..\..\FoldersCompareWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseFoldersComparing);

            #line default
            #line hidden
                return;

            case 5:
                this.leftDrives = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 6:

            #line 21 "..\..\FoldersCompareWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.filterExtension = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.cmpContent = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.withSubDir = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.byDate = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.SyncBtn = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\FoldersCompareWindow.xaml"
                this.SyncBtn.Click += new System.Windows.RoutedEventHandler(this.SyncBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.CopyBtn = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\FoldersCompareWindow.xaml"
                this.CopyBtn.Click += new System.Windows.RoutedEventHandler(this.CopyBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.folderPathLeft = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.folderPathRight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.foldersCmpList = ((System.Windows.Controls.ListView)(target));

            #line 31 "..\..\FoldersCompareWindow.xaml"
                this.foldersCmpList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.foldersCmpList_MouseDoubleClick);

            #line default
            #line hidden

            #line 31 "..\..\FoldersCompareWindow.xaml"
                this.foldersCmpList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.foldersCmpList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.GVColumnFirstName = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.GVColumnFirstSize = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 18:
                this.GVColumnFirstDate = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 19:
                this.GVColumnImage = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 20:
                this.GVColumnSecondDate = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 21:
                this.GVColumnSecondSize = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 22:
                this.GVColumnSecondName = ((System.Windows.Controls.GridViewColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rb_wp = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 2:
                this.rb_cust = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 3:
                this.sp_date = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.dp_from = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.dp_to = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.rb_allnom = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.rb_namenom = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.rb_groupnom = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.sp_nom = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.cb_nom = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 11:
                this.tbp_main_window_di = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 12:
                this.bt_help = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.bt_show = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.bt_can = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\AllCustomers.xaml"
                ((AlborzAutomobile.AllCustomers)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 6 "..\..\..\AllCustomers.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.toolBarPanel1 = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

            case 4:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\AllCustomers.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 11 "..\..\..\AllCustomers.xaml"
                this.dataGrid1.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.dataGrid1_SelectedCellsChanged);

            #line default
            #line hidden

            #line 11 "..\..\..\AllCustomers.xaml"
                this.dataGrid1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGrid1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\AllCustomers.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\AllCustomers.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }