コード例 #1
0
 public TableSetForm(SelectColumnsForm selectColumnsForm, string excelFile, List <string> displayedColumns, string groupName, int fromValue, int toValue)
 {
     InitializeComponent();
     this.selectColumnsForm = selectColumnsForm;
     this.excelFile         = excelFile;
     this.displayedColumns  = displayedColumns;
     this.groupName         = groupName;
     this.fromValue         = fromValue;
     this.toValue           = toValue;
 }
コード例 #2
0
        //单击共享目录按钮
        private void btnImport_Click(object sender, EventArgs e)
        {
            Log.RecordLog("---------------------------------------------------------------------------------------------");
            String excelFile = null;

            excelFile = openFile();
            if (excelFile == null)
            {
                return;
            }
            selectColumnsForm = new SelectColumnsForm(this, excelFile);
            this.Hide();
            selectColumnsForm.Show();
        }