示例#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();
        }
示例#2
0
        private void AddItem()
        {
            var f = new frmLabelFormats(m_config.Id);

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