public SrStoragePage() { InitializeComponent(); for (int i = 0; i < 5; i++) { dataGridViewVDIs.Columns[i].SortMode = DataGridViewColumnSortMode.Automatic; } ConnectionsManager.History.CollectionChanged += History_CollectionChanged; base.Text = Messages.VIRTUAL_DISKS; Properties.Settings.Default.PropertyChanged += Default_PropertyChanged; dataGridViewBuilder = new VDIsDataGridViewBuilder(this); }
public SrStoragePage() { InitializeComponent(); for (int i = 0; i < 5; i++) { dataGridViewVDIs.Columns[i].SortMode = DataGridViewColumnSortMode.Automatic; } ConnectionsManager.History.CollectionChanged += History_CollectionChanged; base.Text = Messages.VIRTUAL_DISKS; Properties.Settings.Default.PropertyChanged += Default_PropertyChanged; dataGridViewBuilder = new VDIsDataGridViewBuilder(this); }
public SrStoragePage() { InitializeComponent(); storageLinkVolumeColumn = ColumnVolume; sizeColumn = ColumnSize; for (int i = 0; i < 5; i++) { dataGridViewVDIs.Columns[i].SortMode = DataGridViewColumnSortMode.Automatic; } dataGridViewVDIs.SortCompare += DataGridViewObject_SortCompare; dataGridViewVDIs.SelectionChanged += dataGridViewVDIs_SelectedIndexChanged; dataGridViewVDIs.MouseUp += dataGridViewVDIs_MouseUp; dataGridViewVDIs.KeyUp += dataGridViewVDIs_KeyUp; ConnectionsManager.History.CollectionChanged += new CollectionChangeEventHandler(History_CollectionChanged); base.Text = Messages.VIRTUAL_DISKS; Properties.Settings.Default.PropertyChanged += Default_PropertyChanged; dataGridViewBuilder = new VDIsDataGridViewBuilder(this); }
public SrStoragePage() { InitializeComponent(); storageLinkVolumeColumn = ColumnVolume; sizeColumn = ColumnSize; for (int i = 0; i < 5; i++) { dataGridViewVDIs.Columns[i].SortMode = DataGridViewColumnSortMode.Automatic; } dataGridViewVDIs.SortCompare += DataGridViewObject_SortCompare; dataGridViewVDIs.SelectionChanged += dataGridViewVDIs_SelectedIndexChanged; dataGridViewVDIs.MouseUp += dataGridViewVDIs_MouseUp; dataGridViewVDIs.KeyUp += dataGridViewVDIs_KeyUp; ConnectionsManager.History.CollectionChanged += new CollectionChangeEventHandler(History_CollectionChanged); base.Text = Messages.VIRTUAL_DISKS; Properties.Settings.Default.PropertyChanged += Default_PropertyChanged; dataGridViewBuilder = new VDIsDataGridViewBuilder(this); }