public UJobInputDlg() { this.InitializeComponent(); this.pi = PathInfo.CreateInstance(); this.dcl = new DispCodeList(); }
private void MainBase_Load(object sender, EventArgs e) { if (!this.isDesigning) { this.DiskCheck(); this.DataInfoCnt = 0; this.usr = User.CreateInstance(); this.HJobList = this.usr.HistoryJobsList; this.HUserList = this.usr.HistoryUserList; this.HMailBoxList = this.usr.HistoryAddressList; this.usr_apc = this.usr.Application; this.usr_tlb = this.usr.ToolBar; this.usr_wnd = this.usr.Window; this.usr_cwc = this.usr.ColumnWidth; this.usr_dvf = this.usr.DataViewForm; this.usr_jpc = this.usr.JobOption; this.usrenv = UserEnvironment.CreateInstance(); this.OptionSet(true); this.idv.RecvFolderSelect(); this.FldList = this.msgc.Folders; if (this.idv.GetCount(4, this.usrenv.TerminalInfo.SaveTerm) > 0) { MessageDialog dialog = new MessageDialog { TopMost = true }; if (dialog.ShowMessage("C402", this.usrenv.TerminalInfo.SaveTerm.ToString(), "") == DialogResult.Yes) { this.idv.SaveDateDataDelete(this.usrenv.TerminalInfo.SaveTerm); } dialog.Close(); dialog.Dispose(); this.uopd.Show(); Application.DoEvents(); } this.uJobInput1.HistoryJobListSet(this.HJobList); this.uJobMenu1.HistoryJobListSet(this.HJobList); this.dscl = new DispCodeList(); this.LoadUserApplication(); this.mnJobKey.Visible = false; int userKind = this.sysenv.TerminalInfo.UserKind; if ((this.sysenv.TerminalInfo.UserKind != 4) && !this.sysenv.TerminalInfo.Receiver) { this.DsArrangeManager = new ArrangeManager(this, this.idv); this.DsArrangeManager.AppendArrangeMenu(this.mnOption); this.DsArrangeManager.AutoRun(); } this.tbbJetras.Visible = this.sysenv.TerminalInfo.Jetras; this.tbbJSplitter5.Visible = this.sysenv.TerminalInfo.Jetras; this.DisposingFlag = false; this.swtbl = new SWCheckTbl(); ULogClass.LogWrite("=====< Log Start >====="); this.StatusChange(0); this.UpdateMenuItems(); this.uopd.Close(); this.uopd.Dispose(); } }
private void UJobInput_Load(object sender, EventArgs e) { if (!this.isDesigning) { this.pi = PathInfo.CreateInstance(); this.dcl = new DispCodeList(); } }