private void tsSaveLayout_Click(object sender, EventArgs e) { Util.INI["FORMLOCATION"]["MAINLOCATION"] = $"{Location.X},{Location.Y},{Width},{Height}"; dockPanel1.SaveAsXml(Util.DOCKLAYOUTFILE); Util.DealRPTForm.SaveLayout(); AlertBox.AlertWithoutReply(this, AlertBoxButton.Msg_OK, "版面儲存", "儲存完成!"); }
private void tsLayout_Click(object sender, EventArgs e) { Utility.Save("FORM", "LOCATION", $"{ Location.X},{ Location.Y},{Width},{Height}"); dockPanel1.SaveAsXml(m_DockLayoutFile); OrderForm.SaveLayout(); MatchForm.SaveLayout(); ErrForm.SaveLayout(); CancelForm.SaveLayout(); SummaryForm.SaveLayout(); PositionForm.SaveLayout(); AlertBox.AlertWithoutReply(this, AlertBoxButton.Msg_OK, "版面儲存", "儲存完成!"); }