/// <summary> /// 报价单刷新 /// </summary> public void TSMItem_offer_query_Refresh() { panel_Main.Controls.Clear(); OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }
/// <summary> /// 查询报价单菜单 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void TSMItem_offer_query_Click(object sender, EventArgs e) { panel_Main.Controls.Clear(); OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }
/// <summary> /// 构造函数,登录 /// </summary> /// <param name="userid"></param> /// <param name="username"></param> public FormOSM_Main(string id,string userid, string username) { InitializeComponent(); //label_username.Text = username; uuid = id; uid = userid; uname = username; toolStripStatusLabel_username.Text = "欢迎您," + username; toolStripStatusLabel_date.Text = DateTime.Today.Year.ToString() + "年" + DateTime.Today.Month.ToString() + "月" + DateTime.Today.Day.ToString() + "日"; OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }
/// <summary> /// 构造函数,登录 /// </summary> /// <param name="userid"></param> /// <param name="username"></param> public FormOSM_Main(string id, string userid, string username) { InitializeComponent(); //label_username.Text = username; uuid = id; uid = userid; uname = username; toolStripStatusLabel_username.Text = "欢迎您," + username; toolStripStatusLabel_date.Text = DateTime.Today.Year.ToString() + "年" + DateTime.Today.Month.ToString() + "月" + DateTime.Today.Day.ToString() + "日"; OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }
/// <summary> /// 报价单刷新 /// </summary> public void TSMItem_offer_query_Refresh() { panel_Main.Controls.Clear(); OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }
/// <summary> /// 查询报价单菜单 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void TSMItem_offer_query_Click(object sender, EventArgs e) { panel_Main.Controls.Clear(); OSM_Offers_Form offer_form = new OSM_Offers_Form(); offer_form.setMainForm(this); panel_Main.Controls.Add(offer_form); }