Пример #1
0
 public fMain()
 {
     Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU");
     InitializeComponent();
     cbMeasureUnit.SelectedIndex = 0;
     _current_sort_order = SortOrder.Weight;
     rbTotalWeight.Checked = true;
     _LocRM = new ResourceManager("wfFileInventory.wfResources", typeof(fMain).Assembly);
     bSaveInventory.Enabled = false;
     _folder_inventory = new FolderInventory(this, _LocRM, tvInventory);
     _active_measure_unit = _measure_units[cbMeasureUnit.SelectedIndex];
     dlgOpenFile.Filter = _LocRM.GetString("Inventory_Files") + " (*.fin)|*.fin";
 }
Пример #2
0
 public fMain()
 {
     Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU");
     InitializeComponent();
     cbMeasureUnit.SelectedIndex = 0;
     _current_sort_order         = SortOrder.Weight;
     rbTotalWeight.Checked       = true;
     _LocRM = new ResourceManager("wfFileInventory.wfResources", typeof(fMain).Assembly);
     bSaveInventory.Enabled = false;
     _folder_inventory      = new FolderInventory(this, _LocRM, tvInventory);
     _active_measure_unit   = _measure_units[cbMeasureUnit.SelectedIndex];
     dlgOpenFile.Filter     = _LocRM.GetString("Inventory_Files") + " (*.fin)|*.fin";
 }