private void ImporterRibbon_Load(object sender, RibbonUIEventArgs e)
 {
     this.select = new FolderSelection();
     this.select.ribbon = this;
     this.excelWin = Globals.Program.Application.ActiveWindow;
     this.import = new HeaderImport(excelWin);
     this.calc = new CalcImport(this);
     this.openFile = new System.Windows.Forms.OpenFileDialog();
     this.openFile.Filter = "Excel files(*.xls;*.xlsx;*.xlsm)|*.xls;*.xlsx;*.xlsm";
 }
Exemple #2
0
 private void ImporterRibbon_Load(object sender, RibbonUIEventArgs e)
 {
     this.select          = new FolderSelection();
     this.select.ribbon   = this;
     this.excelWin        = Globals.Program.Application.ActiveWindow;
     this.import          = new HeaderImport(excelWin);
     this.calc            = new CalcImport(this);
     this.openFile        = new System.Windows.Forms.OpenFileDialog();
     this.openFile.Filter = "Excel files(*.xls;*.xlsx;*.xlsm)|*.xls;*.xlsx;*.xlsm";
 }