public PanelOIDimensoesSuporte() : base()
		{

			//This call is required by the Windows Form Designer.
			InitializeComponent();

			//Add any initialization after the InitializeComponent() call
			if (System.ComponentModel.LicenseManager.UsageMode != System.ComponentModel.LicenseUsageMode.Designtime)
			{
				GetExtraResources();

                ConfigDataGridView();

                DragDropHandlerUnidFisicas = new NivelDragDrop(dataGridView1, TipoNivel.OUTRO);
                DragDropHandlerUnidFisicas.AcceptNivelRow += AcceptNivelRow;

                dataGridView1.SelectionChanged += new EventHandler(dataGridView1_SelectionChanged);
                dataGridView1.KeyUp += new KeyEventHandler(dataGridView1_KeyUp);
                dataGridView1.CellMouseMove += new DataGridViewCellMouseEventHandler(dataGridView1_CellMouseMove);

                btnRemove.Click += new EventHandler(btnRemove_Click);

				UpdateListButtonsState();
			}
		}
Example #2
0
        public SlavePanelMovimentos() : base()
        {
            InitializeComponent();

            GetExtraResources();

            this.grpFiltro.Visible       = ToolBarButtonFiltro.Pushed;
            lblFuncao.Text               = "Documentos associados";
            ToolBarButtonFiltro.Visible  = true;
            ToolBarButtonAuxList.Visible = true;

            UpdateListButtonsState();

            long[] @params = new long[] { TipoNivel.DOCUMENTAL };
            DragDropHandlerNiveis = new NivelDragDrop(lstVwNiveisAssoc, @params);

            DragDropHandlerNiveis.AcceptItem += AcceptItem;
        }
        public SlavePanelMovimentos() : base()
        {
            InitializeComponent();

            GetExtraResources();

            this.grpFiltro.Visible = ToolBarButtonFiltro.Pushed;
            lblFuncao.Text = "Documentos associados";
            ToolBarButtonFiltro.Visible = true;
            ToolBarButtonAuxList.Visible = true;

            UpdateListButtonsState();

            long[] @params = new long[] { TipoNivel.DOCUMENTAL };
            DragDropHandlerNiveis = new NivelDragDrop(lstVwNiveisAssoc, @params);

            DragDropHandlerNiveis.AcceptItem += AcceptItem;
        }
		public PanelUFUnidadesDescricao() : base()
		{

			//This call is required by the Windows Form Designer.
			InitializeComponent();

            if (!SessionHelper.AppConfiguration.GetCurrentAppconfiguration().IsReqEnable())
                this.lstVwNiveisAssoc.Columns.Remove(this.chRequisitado);

			GetExtraResources();

			long[] @params = new long[] {TipoNivel.DOCUMENTAL, TipoNivel.ESTRUTURAL};
			DragDropHandlerNiveis = new NivelDragDrop(lstVwNiveisAssoc, @params);

			//Add any initialization after the InitializeComponent() call
			DragDropHandlerNiveis.AcceptNode += AcceptNode;
			DragDropHandlerNiveis.AcceptItem += AcceptItem;
			UpdateListButtonsState();
			PopulateFiltro();
		}
Example #5
0
        public PanelDepIdentificacao()
        {
            InitializeComponent();

            //Add any initialization after the InitializeComponent() call
            if (System.ComponentModel.LicenseManager.UsageMode != System.ComponentModel.LicenseUsageMode.Designtime)
            {
                GetExtraResources();

                DragDropHandlerUnidFisicas = new NivelDragDrop(lstVwUnidadesFisicasAssoc, TipoNivel.OUTRO);
                DragDropHandlerUnidFisicas.AcceptNivelRow += AcceptNivelRow;

                lstVwUnidadesFisicasAssoc.SelectedIndexChanged += new EventHandler(lstVwUnidadesFisicasAssoc__SelectedIndexChanged);
                lstVwUnidadesFisicasAssoc.KeyUp += new KeyEventHandler(lstVwUnidadesFisicasAssoc_KeyUp);

                btnRemove.Click += new EventHandler(btnRemove_Click);

                UpdateListButtonsState();
            }
        }
        public PanelDepIdentificacao()
        {
            InitializeComponent();

            //Add any initialization after the InitializeComponent() call
            if (System.ComponentModel.LicenseManager.UsageMode != System.ComponentModel.LicenseUsageMode.Designtime)
            {
                GetExtraResources();

                DragDropHandlerUnidFisicas = new NivelDragDrop(lstVwUnidadesFisicasAssoc, TipoNivel.OUTRO);
                DragDropHandlerUnidFisicas.AcceptNivelRow += AcceptNivelRow;

                lstVwUnidadesFisicasAssoc.SelectedIndexChanged += new EventHandler(lstVwUnidadesFisicasAssoc__SelectedIndexChanged);
                lstVwUnidadesFisicasAssoc.KeyUp += new KeyEventHandler(lstVwUnidadesFisicasAssoc_KeyUp);

                btnRemove.Click += new EventHandler(btnRemove_Click);

                UpdateListButtonsState();
            }
        }
Example #7
0
        public PanelUFUnidadesDescricao() : base()
        {
            //This call is required by the Windows Form Designer.
            InitializeComponent();

            if (!SessionHelper.AppConfiguration.GetCurrentAppconfiguration().IsReqEnable())
            {
                this.lstVwNiveisAssoc.Columns.Remove(this.chRequisitado);
            }

            GetExtraResources();

            long[] @params = new long[] { TipoNivel.DOCUMENTAL, TipoNivel.ESTRUTURAL };
            DragDropHandlerNiveis = new NivelDragDrop(lstVwNiveisAssoc, @params);

            //Add any initialization after the InitializeComponent() call
            DragDropHandlerNiveis.AcceptNode += AcceptNode;
            DragDropHandlerNiveis.AcceptItem += AcceptItem;
            UpdateListButtonsState();
            PopulateFiltro();
        }
        public PanelOIDimensoesSuporte() : base()
        {
            //This call is required by the Windows Form Designer.
            InitializeComponent();

            //Add any initialization after the InitializeComponent() call
            if (System.ComponentModel.LicenseManager.UsageMode != System.ComponentModel.LicenseUsageMode.Designtime)
            {
                GetExtraResources();

                ConfigDataGridView();

                DragDropHandlerUnidFisicas = new NivelDragDrop(dataGridView1, TipoNivel.OUTRO);
                DragDropHandlerUnidFisicas.AcceptNivelRow += AcceptNivelRow;

                dataGridView1.SelectionChanged += new EventHandler(dataGridView1_SelectionChanged);
                dataGridView1.KeyUp            += new KeyEventHandler(dataGridView1_KeyUp);
                dataGridView1.CellMouseMove    += new DataGridViewCellMouseEventHandler(dataGridView1_CellMouseMove);

                btnRemove.Click += new EventHandler(btnRemove_Click);

                UpdateListButtonsState();
            }
        }