Exemplo n.º 1
0
        private void grdLabelFormats_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            var f = new frmLabelFormats(m_config.LabelFormats[e.RowIndex]);

            f.StartPosition   = FormStartPosition.CenterScreen;
            f.AddedOrUpdated += RefreshGrid;
            f.ShowDialog();
        }
Exemplo n.º 2
0
        private void AddItem()
        {
            var f = new frmLabelFormats(m_config.Id);

            f.StartPosition   = FormStartPosition.CenterScreen;
            f.AddedOrUpdated += RefreshGrid;
            f.ShowDialog();
        }